//
//  EXHeadController.m
//  SmallEasyLife
//
//  Created by qianfeng on 15/10/26.
//  Copyright © 2015年 GXK. All rights reserved.
//

#import "EXHeadController.h"
#import "Event.h"
//只有一个webview 和 titleView 显示当前主题

@interface EXHeadController ()

@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation EXHeadController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    if (self.model) {
        NSString * adUrl = self.model.mobileURL;
        
        NSURLRequest * request = [NSURLRequest requestWithURL:[NSURL URLWithString:adUrl]];
        
        [self.webView loadRequest:request];
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
